package com.habo.service.impl;

import com.habo.dao.CommentMapper;
import com.habo.entity.Comment;
import com.habo.service.CommentService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by junbb on 2017/4/1.
 */
@Service
@Transactional
public class CommentServiceImpl implements CommentService {
    @Resource
    private CommentMapper commentMapper;

    @Override
    public void commentInsert(Comment comment) {

    }

    @Override
    public void commentDelete(Comment comment) {

    }

    @Override
    public void commentUpdate(Comment comment) {

    }

    @Override
    public List<Comment> commentSelect(int S_id) {
        return commentMapper.commentSelect(S_id);
    }
}
